using System;
using System.IO;
using System.Collections.Generic;

namespace Servlets.Api
{
	public interface IResponse
	{
		HttpStatus HttpStatus{get;set;}
		void SetProperty(HttpProperty property, string value);
		string GetProperty(HttpProperty property);
		void RemoveProperty(HttpProperty property);
		IEnumerable<HttpProperty> AllProperties {get;}
		ResponseStream OutputStream{get;}
		HttpVersion HttpVersion {get; set;}
		
		void SetCookie(Cookie cookie);
		IEnumerable<Cookie> Cookies {get;}
		
		void Redirect(string url);
	}
}

